package java8_28.oop.Javatest_1;

public class TestingCenter_test {
    public static void main(String[] args) {
        TestingCenter t = new TestingCenter("汽车检测中心", "临泉路88号");
        Car c1 = new Dazhong("黑色", "晥A88888");
        Car c2 = new Wuling("白色", "皖A66666");
        Car c3 = new Benchi("银色", "皖A00000");
        ((Dazhong) c1).show();
        t.check(c1);
        System.out.println(">>>>>>>>>>>>>>>>>>");
        ((Wuling) c2).show();
        t.check(c2);
        System.out.println(">>>>>>>>>>>>>>>>>>");
        ((Benchi) c3).show();
        t.check(c3);
    }
}
